import React, { FC } from 'react'
import { RouteComponentProps, withRouter } from 'react-router-dom'
import {useTranslation,  withTranslation, WithTranslation } from "react-i18next";


export type HomeType = RouteComponentProps & WithTranslation

export const Home:FC<HomeType> = (props) => {
  console.log('props:.:home:', props)
  const { t } = useTranslation();
  console.log(t, 't')
  return <div>
    {t("header.add_new_language")}
  </div>
}

export default withRouter(Home);
